package com.guigu.xiaowenbo.service;

import com.guigu.xiaowenbo.pojo.Sgather;
import com.guigu.xiaowenbo.pojo.Sgatherdetails;

import java.util.List;

public interface SgatherdetailsService {
    public int insertsgd(Sgatherdetails sgatherdetails);
    public List<Sgatherdetails> selectsgd(Integer parentid);
    public Sgather selectsgid(Integer id);
    public List<Sgatherdetails> selectsgddd(Integer parentid);
    public Sgatherdetails selectsgdp(Integer parentid, String productid);
    public int updatesgd(Integer parentid, String productid);
    public List<Sgatherdetails> selectsgdrs(Integer parentid);
    public int updatesgdrs(Integer parentid, String productid, Integer gatheredamount);
    public int updatesgdrses(Integer parentid, String productid, Integer gatheredamounts);

    int insert_WZY(Sgatherdetails sgatherdetails);
}
